package org.mspring.mlog.service.impl;

import java.util.List;

import org.mspring.mlog.dao.CodeBookDao;
import org.mspring.mlog.entity.CodeBook;
import org.mspring.mlog.service.CodeBookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class CodeBookServiceImpl implements CodeBookService {

	@Autowired
	private CodeBookDao codBookDao;
	
	@Override
	public List<CodeBook> getCodeBookByType(String type) {
		// TODO Auto-generated method stub
		return codBookDao.getCodeBookByType(type);
	}

}
